package com.ruoyi.business.service;

import java.util.List;
import com.ruoyi.business.domain.BusContractDelivery;
import com.ruoyi.business.domain.BusContractDeliveryDetail;
import com.ruoyi.business.domain.BusContractDeliveryParam;

/**
 * 合同交货Service接口
 * 
 * @author ruoyi
 * @date 2021-09-02
 */
public interface IBusContractDeliveryService 
{
    /**
     * 查询合同交货
     * 
     * @param deliveryId 合同交货主键
     * @return 合同交货
     */
    public BusContractDelivery selectBusContractDeliveryByDeliveryId(Long deliveryId);

    /**
     * 查询合同交货列表
     * 
     * @param busContractDelivery 合同交货
     * @return 合同交货集合
     */
    public List<BusContractDelivery> selectBusContractDeliveryList(BusContractDelivery busContractDelivery);

    /**
     * 新增合同交货
     * 
     * @param busContractDelivery 合同交货
     * @return 结果
     */
    public int insertBusContractDelivery(BusContractDelivery busContractDelivery);

    /**
     * 修改合同交货
     * 
     * @param busContractDelivery 合同交货
     * @return 结果
     */
    public int updateBusContractDelivery(BusContractDelivery busContractDelivery);

    /**
     * 批量删除合同交货
     * 
     * @param deliveryIds 需要删除的合同交货主键集合
     * @return 结果
     */
    public int deleteBusContractDeliveryByDeliveryIds(Long[] deliveryIds);

    /**
     * 删除合同交货信息
     * 
     * @param deliveryId 合同交货主键
     * @return 结果
     */
    public int deleteBusContractDeliveryByDeliveryId(Long deliveryId);

    /**
     * 获取合同交货列表信息
     * @return
     */
    public List<BusContractDeliveryDetail>  getContractDeliveryList(BusContractDeliveryParam busContractDeliveryParam);
}
